package hong.jun.basic.util;


import lombok.Data;

import java.util.List;

@Data
public class PageList<T> {
    private Long total;
    private List<T> data;

    public PageList() {
    }

    public PageList(Long total, List<T> data) {
        this.total = total;
        this.data = data;
    }
}
